#ifndef _LABEL_H_INCLUDED_
#define _LABEL_H_INCLUDED_

#include "gameobject.h"
#include "point.h"
#include "textalignment.h"

#include "font.h"
#include "texture.h"
#include <string>

class Label : public GameObject {
public:
    Label(Game* game);
    ~Label(void);
    string GetFontName() const;
    void SetFontName(string val);
    Point GetPosition() const;
    void SetPosition(Point val);
    string GetText() const;
    void SetText(string val);
    TextAlignment GetTextAlignment() const;
    void SetTextAlignment(TextAlignment val);
    virtual void Draw(float timeDelta);
    virtual void LoadContent();
    virtual void UnloadContent();
private:
    string text;
    CFont* font;
    string fontName;
    CTexture* fontTexture;
    Point position;
    TextAlignment textAlignment;
};

#endif